﻿/**
 * Reboulder - Partial Boulder Dash clone
 * Jesús Sagra, 2014
 * 
 * Item class: item to be picked by the player
 * 
 * Version    Date     Changes
 * -----------------------------------------------------
 *  0.01   07-dic-2014  Constructor
 */

class Item : Sprite
{
    //puntos que vale;
    protected int score;

    public Item(int posX, int posY, int score)
        : base(posX, posY)
    {
        x = posX;
        y = posY;
        this.score = score;
        image = new Image("data/item.png");
    }

    public override string ToString()
    {
        return "item";
    }
    public int GetScore()
    {
        return score;
    }


}